package com.yunxi.sto.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 渠道商车辆买卖
 * </p>
 *
 * @author caoYong
 * @since 2019-08-30
 */
@Data
@ApiModel(value="PartnerVehicleTradeVO 对象", description="渠道商车辆买卖")
public class PartnerVehicleTradeVO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String tradeId;

    @ApiModelProperty(value = "标题")
    private String tradeTitle;

    @ApiModelProperty(value = "车辆接收渠道商代码")
    private String partnerCode;

    @ApiModelProperty(value = "车辆来源渠道商代码")
    private String outPartnerCode;

    @ApiModelProperty(value = "买卖车辆数量")
    private Integer tradeQuanlity;

    @ApiModelProperty(value = "审核状态(Trade_ApproveStatus,1待审批,2小区经理卖家通过,3小区经理卖家驳回,4大区经理卖家通过,5大区经理卖家驳回,6大区经理买家通过,7大区经理买家驳回,8总部通过,9总部驳回,10提交审核)")
    private Integer approveStatus;

    @ApiModelProperty(value = "审核时间")
    private Date approveTime;

    @ApiModelProperty(value = "驳回原因")
    private String returnReason;

    @ApiModelProperty(value = "交易描述")
    private String tradeDesc;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "发起时间起")
    private String createTimeStart;

    @ApiModelProperty(value = "发起时间止")
    private String createTimeEnd;

    @ApiModelProperty(value = "买卖车辆列表")
    private List<PartnerVehicleTradeDetailAddVO> vinList;

    @ApiModelProperty(value = "买卖车辆列表详情")
    private List<PartnerVehicleTradeDetailListVO> vinDetailList;

    @ApiModelProperty(value = "卖方渠道商名称")
    private String outPartnerName;

    @ApiModelProperty(value = "买方渠道商名称")
    private String partnerName;

    @ApiModelProperty(value = "任务ID")
    private String taskId;

    @ApiModelProperty(value = "实例ID")
    private String instanceId;

    @ApiModelProperty(value = "审核类型(1卖方小区经理审核,2卖方大区经理审核,3买方大区经理审核,4总部审核)")
    private Integer approveType;

    @ApiModelProperty(value = "买方大区代码")
    private String inAreaCode;

    @ApiModelProperty(value = "卖方大区代码")
    private String outAreaCode;

    @ApiModelProperty(value = "用户代码")
    private String userCode;

}
